package com.ts.api.module.product.service.impl;

import com.ts.api.module.product.dao.ProductPlanFieldDao;
import com.ts.api.module.product.entity.po.ProductPlanFieldPO;
import com.ts.api.module.product.entity.qo.ProductPlanFieldQO;
import com.ts.api.module.product.service.ProductPlanFieldService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
public class ProductPlanFieldServiceImpl implements ProductPlanFieldService {

    @Autowired
    private ProductPlanFieldDao productPlanFieldDao;

    @Override
    @Transactional(readOnly = true)
    public List<ProductPlanFieldPO> listProductPlanField(ProductPlanFieldQO productPlanFieldQO) {
        return productPlanFieldDao.listProductPlanField(productPlanFieldQO);
    }
}
